<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>HTML data</title>
    <script src="http://libs.baidu.com/jquery/1.7.2/jquery.js"></script>
    <script type="text/javascript">
        $(function () {
            $("a").click(function () {
                var url = this.href + " h4";
                var args = {"time": new Date()};
                //任何一个html节点都可以使用load方法来加载ajax，结果将直接插入html节点中
                $("#details").load(url, args);
                return false;
            })
        })
    </script>
</head>
<body>
<h1>People</h1>
<ul>
    <li>
        <a href="htmlfiles/andy.html">Andy</a>
    </li>
    <li>
        <a href="htmlfiles/richard.html">Richard</a>
    </li>
    <li>
        <a href="htmlfiles/jeremy.html">Jeremy</a>
    </li>
</ul>
<div id="details"></div>
</body>
</html>